import type { RouteRecordRaw } from 'vue-router';

export default [
  {
    path: '/test',
    component: () => import('@/views/Test/index.vue'),
    name: 'Test',
    /* redirect: '/test/gantt',
    children: [
      {
        path: 'wang-editor',
        component: () => import('@/views/Test/modules/WangEditor/index.vue'),
        name: 'Test.Editor',
        meta: {
          title: '富文本编辑器',
        },
      },
      {
        path: 'taskList',
        component: () => import('@/views/Test/taskList/index.vue'),
        name: 'Test.TaskList',
        meta: {
          title: '任务列表',
        },
      },
      {
        path: 'calendar',
        component: () => import('@/views/Test/modules/Calendar/index.vue'),
        name: 'Test.Calendar',
        meta: {
          title: '日历',
        },
      },
      {
        path: 'gantt',
        component: () => import('@/views/Test/modules/Gantt/index.vue'),
        name: 'Test.Gantt',
        meta: {
          title: '甘特图',
        },
      },
      {
        path: 'login',
        component: () => import('@/views/Test/modules/Login/index.vue'),
        name: 'Test.Login',
        meta: {
          title: '登录',
        },
      },
    ], */
  },
] as RouteRecordRaw[];
